﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using Acid.Math;

using Acid.OpenGLES;
namespace Acid.Graphics
{
    [StructLayout(LayoutKind.Sequential)]
    public struct Light
    {
        public Vector4 Position;
        public Vector4 Diffuse;
        public Vector4 Ambient;
        public Vector4 Specular;
        public bool    Enabled;

        public Light(Vector3 position) : this(new Vector4(position.X, position.Y, position.Z, 1.0f), new Vector4(), new Vector4(), new Vector4()) { }
        public Light(Vector4 position) : this(position, new Vector4(), new Vector4(), new Vector4()) { }
        public Light(Vector4 position,
                     Vector4 diffuse,
                     Vector4 ambient,
                     Vector4 specular)
        {
            this.Position = position;
            this.Diffuse  = diffuse;
            this.Ambient  = ambient;
            this.Specular = specular;
            this.Enabled  = true;
        }


       
    }
}
